package hfjava;

import java.util.Scanner;

public class NumAndNum_Test {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        NumAndNum and=new NumAndNum();
        System.out.println("输入两个整数");
        int num1 =input.nextInt();
        int num2=input.nextInt();
        and.num(num1,num2);
        System.out.println("输入三个整数");
        int num3 =input.nextInt();
        int num4=input.nextInt();
        int num5=input.nextInt();
        and.num(num3,num4,num5);
        System.out.println("输入两个小数");
        double num6 =input.nextDouble();
        double num7=input.nextDouble();
        and.num(num6,num7);
    }
}
